// 动态表单组件库入口文件
// 统一导出所有组件、工具和类型定义

// 主组件
export { default as DynamicForm } from './components/DynamicForm.vue'

// 字段组件
export { default as InputField } from './components/fields/InputField.vue'
export { default as SelectField } from './components/fields/SelectField.vue'
export { default as AutoCompleteField } from './components/fields/AutoCompleteField.vue'
export { default as DatePickerField } from './components/fields/DatePickerField.vue'
export { default as RadioField } from './components/fields/RadioField.vue'
export { default as CheckboxField } from './components/fields/CheckboxField.vue'
export { default as NumberField } from './components/fields/NumberField.vue'
export { default as TextareaField } from './components/fields/TextareaField.vue'
export { default as SwitchField } from './components/fields/SwitchField.vue'
export { default as UploadField } from './components/fields/UploadField.vue'
export { default as CustomField } from './components/fields/CustomField.vue'

// 工具函数
export { useDynamicForm } from './useDynamicForm'
export { 
  fieldMap, 
  registerFieldType, 
  getFieldComponent, 
  getRegisteredFieldTypes, 
  isFieldTypeRegistered 
} from './field-map'

// 类型定义（如果使用 TypeScript）
// export * from './form-schema'

// 示例配置
// export * from './example'

// 默认导出主组件
// export default DynamicForm 